@media screen and (min-width: 320px) {
  html {
    font-size: 32px;
  }
  .time .clock {
    transform: scale(1.3);
  }
}
@media screen and (min-width: 360px) {
  html {
    font-size: 36px;
  }
}
@media screen and (min-width: 375px) {
  html {
    font-size: 37.5px;
  }
}
@media screen and (min-width: 384px) {
  html {
    font-size: 38.4px;
  }
}
@media screen and (min-width: 400px) {
  html {
    font-size: 40px;
  }
}
@media screen and (min-width: 414px) {
  html {
    font-size: 41.4px;
  }
}
@media screen and (min-width: 424px) {
  html {
    font-size: 42.4px;
  }
}
@media screen and (min-width: 480px) {
  html {
    font-size: 48px;
  }
}
@media screen and (min-width: 540px) {
  html {
    font-size: 54px;
  }
  body {
    background-image: url(../images/classroom.jpeg) !important;
    background-size: 100% 100% !important;
    background-color: #ccc !important;
    background-attachment: fixed;
  }
  .time .clock {
    transform: scale(1);
  }
  .time .clock {
    width: 50% !important;
  }
  .time .info {
    width: 50% !important;
  }
}
@media screen and (min-width: 720px) {
  html {
    font-size: 72px;
  }
}
@media screen and (min-width: 750px) {
  html {
    font-size: 75px;
  }
}
@media screen and (min-width: 800px) {
  html {
    font-size: 80px;
  }
}
@media screen and (min-width: 900px) {
  html {
    font-size: 90px;
  }
}
@media screen and (min-width: 1000px) {
  html {
    font-size: 100px;
  }
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background: url(../images/cherry.jpg) no-repeat;
  background-size: 100% 100%;
  background-attachment: fixed;
}
body {
  width: 90vw;
  margin: 0 auto;
}
.header {
  width: 100%;
  height: 40px;
  margin-top: 7px;
  background-color: #ddd;
  display: flex;
  justify-content: space-between;
  align-content: center;
  border-radius: 20px;
}
.header .slogan {
  width: 50%;
  height: 100%;
  position: relative;
  z-index: 2;
}
.header .slogan h1:nth-child(1) {
  position: absolute;
  line-height: 100%;
  top: 12px;
  left: 20px;
  width: 23px;
  font-size: 21px;
}
.header .slogan h1:nth-child(2) {
  position: absolute;
  line-height: 100%;
  top: 15.68px;
  left: 45px;
  width: 99px;
  font-size: 16px;
  font-weight: 400;
}
.header .photo {
  position: relative;
  width: 50%;
  height: 100%;
  z-index: 2;
}
.header .photo a {
  color: #fff;
}
.header .photo a img {
  width: 24px;
  margin-top: 2px;
  position: absolute;
  top: 5px;
  right: 50px;
}
.header .photo a span:nth-of-type(1) {
  position: absolute;
  top: 7.4px;
  right: 25.7px;
  width: 24px;
  height: 24px;
  display: inline-block;
  font-size: 23px;
  line-height: 100%;
}
.header .photo a span:nth-of-type(2) {
  width: 12px;
  height: 12px;
  display: inline-block;
  position: absolute;
  top: 6.8px;
  line-height: 100%;
  right: 15px;
  font-size: 12px;
}
.header .photo a span:nth-of-type(3) {
  display: inline-block;
  position: absolute;
  top: 16.1px;
  right: 15px;
  font-size: 12px;
}
.time {
  width: 100%;
  height: 4rem;
  margin-top: 8px;
}
.time .clock {
  display: flex;
  justify-content: center;
  align-items: center;
  float: left;
  width: 100%;
  height: 4rem;
}
.time .clock .outside {
  position: relative;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: #dde1e7;
  box-shadow: -0.05rem -0.05rem 0.07rem #ddd, 0.08rem 0.08rem 0.05rem rgba(94, 104, 121, 0.288);
}
.time .clock .outside::before {
  content: "";
  position: absolute;
  top: 0.15rem;
  left: 0.15rem;
  width: 2.7rem;
  height: 2.7rem;
  background-color: #dde1e7;
  border-radius: 50%;
  box-shadow: inset -0.05rem -0.05rem 0.03rem #fff, inset 0.08rem 0.08rem 0.05rem rgba(94, 104, 121, 0.288);
}
.time .clock .outside::after {
  content: "";
  position: absolute;
  top: 1.175rem;
  left: 1.175rem;
  width: 0.65rem;
  height: 0.65rem;
  background-color: #dde1e7;
  border-radius: 50%;
  box-shadow: -0.03rem -0.03rem 0.03rem #ddd, 0.03rem 0.03rem 0.05rem rgba(94, 104, 121, 0.288);
  z-index: 1;
}
.time .clock .outside .dot1 {
  position: absolute;
  width: 0.16rem;
  height: 0.16rem;
  background-color: #404040;
  top: 1.42rem;
  left: 1.42rem;
  z-index: 3;
  border-radius: 50%;
}
.time .clock .outside .dot2 {
  position: absolute;
  width: 0.1rem;
  height: 0.1rem;
  background-color: #3498db;
  top: 1.45rem;
  left: 1.45rem;
  z-index: 5;
  border-radius: 50%;
}
.time .clock .outside div[class="point"] {
  position: absolute;
  top: 1.46rem;
  left: 1.485rem;
  z-index: 3;
  width: 0.03rem;
  height: 0.08rem;
  background-color: #404040;
}
.time .clock .outside div:nth-child(3) {
  width: 0.05rem;
  height: 0.12rem;
  top: 1.44rem;
  left: 1.475rem;
  transform: rotate(0) translateY(-1.28rem);
}
.time .clock .outside div:nth-child(4) {
  transform: rotate(30deg) translateY(-1.29rem);
}
.time .clock .outside div:nth-child(5) {
  transform: rotate(60deg) translateY(-1.29rem);
}
.time .clock .outside div:nth-child(6) {
  width: 0.05rem;
  height: 0.12rem;
  top: 1.44rem;
  left: 1.475rem;
  background-color: #3498db;
  transform: rotate(90deg) translateY(-1.28rem);
}
.time .clock .outside div:nth-child(7) {
  transform: rotate(120deg) translateY(-1.29rem);
}
.time .clock .outside div:nth-child(8) {
  transform: rotate(150deg) translateY(-1.29rem);
}
.time .clock .outside div:nth-child(9) {
  width: 0.05rem;
  height: 0.12rem;
  top: 1.44rem;
  left: 1.475rem;
  transform: rotate(180deg) translateY(-1.28rem);
}
.time .clock .outside div:nth-child(10) {
  transform: rotate(210deg) translateY(-1.29rem);
}
.time .clock .outside div:nth-child(11) {
  transform: rotate(240deg) translateY(-1.29rem);
}
.time .clock .outside div:nth-child(12) {
  width: 0.05rem;
  height: 0.12rem;
  top: 1.44rem;
  left: 1.475rem;
  background-color: #3498db;
  transform: rotate(270deg) translateY(-1.28rem);
}
.time .clock .outside div:nth-child(13) {
  transform: rotate(300deg) translateY(-1.29rem);
}
.time .clock .outside div:nth-child(14) {
  transform: rotate(330deg) translateY(-1.29rem);
}
.time .clock .outside .sec {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 1.25rem;
  width: 0.5rem;
  height: 3rem;
  z-index: 6;
}
.time .clock .outside .sec::before {
  content: '';
  display: block;
  width: 0.03rem;
  height: 1.3rem;
  background-color: #3498db;
  margin-top: 0.35rem;
  border-radius: 0.03rem 0.03rem 0 0;
}
.time .clock .outside .sec::after {
  content: '';
  display: block;
  width: 0.08rem;
  height: 0.27rem;
  background-color: #3498db;
  border-radius: 0.03rem;
  margin-bottom: 1rem;
}
.time .clock .outside .min {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 1.25rem;
  width: 0.5rem;
  height: 3rem;
  z-index: 4;
}
.time .clock .outside .min::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 0.05rem solid transparent;
  border-right: 0.05rem solid transparent;
  border-bottom: 0.7rem solid #e95949;
}
.time .clock .outside .min::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: solid 0.05rem transparent;
  border-right: solid 0.05rem transparent;
  border-top: solid 0.3rem #e95949;
  margin-bottom: 0.92rem;
}
.time .clock .outside .hour {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 1.25rem;
  width: 0.5rem;
  height: 3rem;
  z-index: 2;
}
.time .clock .outside .hour::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 0.0689rem solid transparent;
  border-right: 0.0689rem solid transparent;
  border-bottom: 0.55rem solid #303030;
}
.time .clock .outside .hour::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: solid 0.0689rem transparent;
  border-right: solid 0.0689rem transparent;
  border-top: solid 0.2rem #303030;
  margin-bottom: 0.7rem;
}
.time .info {
  display: flex;
  flex-direction: column;
  float: right;
  width: 100%;
  height: 4rem;
  color: #fff;
}
.time .info h4 {
  font-weight: 700;
  font-size: 0.4rem;
  text-align: center;
  height: calc(4rem / 7);
  z-index: 1;
}
.time .info .row {
  text-align: center;
  height: calc(4rem / 7);
}
.time .info .row:nth-of-type(1) span::after {
  content: "天";
}
.time .info .row:nth-of-type(2) span::after {
  content: "小时";
}
.time .info .row:nth-of-type(3) span::after {
  content: "分钟";
}
.time .info .row:nth-of-type(4) span::after {
  content: "秒";
}
.time .info .row:nth-of-type(5) span::after {
  content: "毫秒";
}
.time .info .row:nth-of-type(6) {
  font-size: 0.29rem;
  font-family: "华文行楷";
}
.time .info .row .ms {
  display: none;
}
.time .info .row span {
  display: block;
  font-size: 0.3rem;
}
.time .info img {
  position: absolute;
  top: 80px;
  left: 50%;
  width: 130px;
  border-radius: 10px;
}
.urge {
  width: 100%;
  height: 1rem;
}
.urge h1 {
  margin: 0;
  padding: 0;
  display: block;
  text-align: center;
  width: 100%;
  height: 0.5rem;
  font-size: 0.35rem;
  color: #fff;
}
.urge h1:nth-child(2) {
  display: none;
}
.footer {
  position: fixed;
  bottom: 0;
  width: 90%;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 0.4rem 0.4rem 0 0;
  overflow: hidden;
}
.footer .hd {
  margin-top: 0.1rem;
  text-indent: 0.5rem;
  border-bottom: 1px solid #ccc;
  font-size: 0.2rem;
}
.footer .bd {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer .bd .java,
.footer .bd .mylife,
.footer .bd .unkown {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
}
.footer .bd .java a,
.footer .bd .mylife a,
.footer .bd .unkown a {
  color: #000;
  text-decoration: none;
}
.footer .bd .java a img,
.footer .bd .mylife a img,
.footer .bd .unkown a img {
  width: 0.8rem;
  height: 0.8rem;
  border: solid 2px #ccc;
}
.footer .bd .java a p,
.footer .bd .mylife a p,
.footer .bd .unkown a p {
  font-size: 0.2rem;
  text-align: center;
}
